package com.pur.zsms.unit.service;

import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.foodmanage.food.vo.FoodMaterVo;
import com.pur.zsms.foodmanage.food.vo.FoodVo;
import com.pur.zsms.matermanage.mater.vo.MaterVo;
import com.pur.zsms.pmsnmanage.menu.po.MenuPo;
import com.pur.zsms.pmsnmanage.role.vo.RoleVo;
import com.pur.zsms.pmsnmanage.user.po.UnitMenuPo;
import com.pur.zsms.pmsnmanage.user.po.UserPo;
import com.pur.zsms.pmsnmanage.user.vo.UserVo;
import com.pur.zsms.unit.vo.UnitCommentVo;
import com.pur.zsms.unit.vo.UnitMenuVo;
import com.pur.zsms.unit.vo.UnitVo;

public interface IUnitService {

	String msg = "";

	public String getMsg();

	public void setMsg(String msg);

	/**
	 * 查询评论信息
	 * 
	 * @param
	 * @return
	 */
	public PaginationSupport listUnitComment(PageController pageController, UnitCommentVo unitCommentVo)
	        throws GenericException;

	public PaginationSupport listUnitMenu(PageController pageController, UnitMenuVo unitMenuVo)
	        throws GenericException;

	public PaginationSupport listUnit(PageController pageController, UnitVo unitVo)
	        throws GenericException;

	public String getAllUnitPoJsonString(int space) throws GenericException;

	public boolean addUnitMenu(UnitMenuVo c) throws GenericException;
	
	public boolean updateUnitMenu(UnitMenuVo c) throws GenericException;

	public UnitMenuVo getUnitMenuPo(UnitMenuVo c) throws GenericException;

}
